package com.atguigu.gmall.common.interceptor.annotation;

import com.atguigu.gmall.common.interceptor.UserAuthFeignInterceptor;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

//开启认证拦截器，防止请求头丢失
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(UserAuthFeignInterceptor.class)
public @interface EnableAuthInterceptor {
}
